fn test_a() {
    let userdb = Connection::open("user.db")?;
    let menudb = Connection::open("menu.db")?;
    // 创建表
    userdb.execute(
        "CREATE TABLE IF NOT EXISTS  users (
                  id INTEGER PRIMARY KEY,
                  name TEXT NOT NULL,
                  age INTEGER NOT NULL
                  )",
        [],
    )?;

    menudb.execute(
        "CREATE TABLE IF NOT EXISTS  menus (
                  id INTEGER PRIMARY KEY,
                  name TEXT NOT NULL,
                  age INTEGER NOT NULL
                  )",
        [],
    )?;

    // 插入数据
    userdb.execute("INSERT INTO users (name, age) VALUES (?1, ?2)", ("Alice", 30))?;
    userdb.execute("INSERT INTO users (name, age) VALUES (?1, ?2)", ("Bob", 30))?;

    // 查询数据并打印结果
    let mut stmt = userdb.prepare("SELECT id, name, age FROM users")?;
    let user_iter = stmt.query_map([], |row| {
        Ok((
            row.get::<_, i32>(0)?,
            row.get::<_, String>(1)?,
            row.get::<_, i32>(2)?,
        ))
    })?;

    for user in user_iter {
        let (id, name, age) = user?;
        println!("User {}: {} ({} years old)", id, name, age);
    }
    menudb.release_memory().expect("TODO: panic message");
    Ok(())
}